home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / java-6-openjdk / flavormap.properties < prev    next >
Encoding:
Text File  |  2012-06-29  |  3.7 KB  |  77 lines

  1. # This properties file is used to initialize the default
  2. # java.awt.datatransfer.SystemFlavorMap. It contains the X11 platform-specific,
  3. # default mappings between common X11 selection atoms and platform-independent
  4. # MIME type strings, which will be converted into
  5. # java.awt.datatransfer.DataFlavors.
  6. #
  7. # These default mappings may be augmented by specifying the
  8. #
  9. #       AWT.DnD.flavorMapFileURL 
  10. #
  11. # property in the appropriate awt.properties file. The specified properties URL
  12. # will be loaded into the SystemFlavorMap.
  13. #
  14. # The standard format is:
  15. #
  16. # <native>=<MIME type>
  17. #
  18. # <native> should be a string identifier that the native platform will
  19. # recognize as a valid data format. <MIME type> should specify both a MIME
  20. # primary type and a MIME subtype separated by a '/'. The MIME type may include
  21. # parameters, where each parameter is a key/value pair separated by '=', and
  22. # where each parameter to the MIME type is separated by a ';'.
  23. #
  24. # Because SystemFlavorMap implements FlavorTable, developers are free to
  25. # duplicate both native keys and DataFlavor values. If a mapping contains a
  26. # duplicate key or value, earlier mappings which included this key or value
  27. # will be preferred.
  28. #
  29. # Mappings whose values specify DataFlavors with primary MIME types of
  30. # "text", and which support the charset parameter, should specify the exact
  31. # format in which the native platform expects the data. The "charset"
  32. # parameter specifies the char to byte encoding, the "eoln" parameter
  33. # specifies the end-of-line marker, and the "terminators" parameter specifies
  34. # the number of terminating NUL bytes. Note that "eoln" and "terminators"
  35. # are not standardized MIME type parameters. They are specific to this file
  36. # format ONLY. They will not appear in any of the DataFlavors returned by the
  37. # SystemFlavorMap at the Java level.
  38. #
  39. # If the "charset" parameter is omitted, or has zero length, the platform
  40. # default encoding is assumed. If the "eoln" parameter is omitted, or has
  41. # zero length, "\n" is assumed. If the "terminators" parameter is omitted,
  42. # or has a value less than zero, zero is assumed.
  43. #
  44. # Upon initialization, the data transfer subsystem will record the specified
  45. # details of the native text format, but the default SystemFlavorMap will
  46. # present a large set of synthesized DataFlavors which map, in both
  47. # directions, to the native. After receiving data from the application in one
  48. # of the synthetic DataFlavors, the data transfer subsystem will transform
  49. # the data stream into the format specified in this file before passing the
  50. # transformed stream to the native system.
  51. #
  52. # Mappings whose values specify DataFlavors with primary MIME types of
  53. # "text", but which do not support the charset parameter, will be treated as
  54. # opaque, 8-bit data. They will not undergo any transformation process, and
  55. # any "charset", "eoln", or "terminators" parameters specified in this file
  56. # will be ignored.
  57. #
  58. # See java.awt.datatransfer.DataFlavor.selectBestTextFlavor for a list of
  59. # text flavors which support the charset parameter.
  60.  
  61. UTF8_STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
  62.  
  63. # The COMPOUND_TEXT support for inter-client text transfer is disabled by 
  64. # default. The reason is that many native applications prefer this format over 
  65. # other native text formats, but are unable to decode the textual data in this 
  66. # format properly. This results in java-to-native text transfer failures.
  67. # To enable the COMPOUND_TEXT support for this JRE installation uncomment 
  68. # the line below.
  69.  
  70. # COMPOUND_TEXT=text/plain;charset=x-compound-text;eoln="\n";terminators=0
  71.  
  72. TEXT=text/plain;eoln="\n";terminators=0
  73. STRING=text/plain;charset=iso8859-1;eoln="\n";terminators=0
  74. FILE_NAME=application/x-java-file-list;class=java.util.List
  75. PNG=image/x-java-image;class=java.awt.Image
  76. JFIF=image/x-java-image;class=java.awt.Image
  77.